﻿#region BSD License
/*
 * 
 * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
 *  © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
 * 
 *  New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
 *  Modifications by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV), et al. 2017 - 2023. All rights reserved. 
 *  
 *  Modified: Monday 12th April, 2021 @ 18:00 GMT
 *
 */
#endregion

namespace Krypton.Ribbon
{
    internal class KryptonRibbonGroupTripleCollectionEditor : CollectionEditor
    {
        /// <summary>
        /// Initialize a new instance of the KryptonRibbonGroupTripleCollectionEditor class.
        /// </summary>
        public KryptonRibbonGroupTripleCollectionEditor()
            : base(typeof(KryptonRibbonGroupTripleCollection))
        {
        }

        /// <summary>
        /// Gets the data types that this collection editor can contain. 
        /// </summary>
        /// <returns>An array of data types that this collection can contain.</returns>
        protected override Type[] CreateNewItemTypes() => new[]
        {
            typeof(KryptonRibbonGroupButton),
            typeof(KryptonRibbonGroupColorButton),
            typeof(KryptonRibbonGroupCheckBox),
            typeof(KryptonRibbonGroupComboBox),
            typeof(KryptonRibbonGroupCustomControl),
            typeof(KryptonRibbonGroupDateTimePicker),
            typeof(KryptonRibbonGroupDomainUpDown),
            typeof(KryptonRibbonGroupLabel),
            typeof(KryptonRibbonGroupMaskedTextBox),
            typeof(KryptonRibbonGroupNumericUpDown),
            typeof(KryptonRibbonGroupRadioButton),
            typeof(KryptonRibbonGroupRichTextBox),
            typeof(KryptonRibbonGroupTextBox),
            typeof(KryptonRibbonGroupTrackBar),
            typeof(KryptonRibbonGroupThemeComboBox)
        };
    }
}
